<extend name='Index:index'/>
<block name='right'>
<div class="rightBody">

	<div id="map">
		<span class='title'>商品列表</span>
	</div>
	<div id="content">
		<table id="table" class='table table-striped table-bordered'>
			<thead>
				<tr>
					<th width="15%">商铺名称</th>
					<th width="15%">商品标题</th>
					<th >价格</th>
					<th >销量</th>
					<th >所在地区</th>
					<th >所属分类</th>
					<th >下架时间</th>
					<th >操作</th>
				</tr>
			</thead>
			<tbody>
				<volist name='rows' id='row'>
					<tr>
						<td><{$row['shopname']}></td>
						<td><{$row['main_title']}></td>
						<td><{$row['price']}></td>
						<td><{$row['buy']}></td>
						<td><{$row['lname']}></td>
						<td><{$row['cname']}></td>
						<td><{$row['time']}></td>
						<td>
							<a class='btn btn-small' href="<{:U('edit','','')}>/gid/<{$row['gid']}>">编辑</a>
							<a class='btn btn-small delAffirm' href="<{:U('delete','','')}>/img/<{$row['goods_img']}>/gid/<{$row['gid']}>">删除</a>
						</td>
					</tr>
				</volist>
			</tbody>
		</table>
		
		<div id="page">
			<{$show}>		
		</div>
	</div>

</block>